<!DOCTYPE html>
<!--<html xmlns:th="http://www.thymeleaf.org">-->
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns:color="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Index</title>
</head>
<body>
<span th:text="${data.username}"></span>
<span th:if="${data.jobType == 1}">
    1军事迷
</span>
<span th:if="${data.jobType == 2}">
    2评论员
</span>
<span th:if="${data.jobType == 3}">
    3指挥员
</span>
<span th:if="${data.jobType == 4}">
    4情报收集者
</span>
</body>
</html>